//
//  AssetMenuView.h
//  AppleMarket
//
//  Created by yangy on 01/11/2018.
//  Copyright © 2018 szgsy. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface AssetMenuItem : NSObject
@property (nonatomic, strong) NSString *title;
@property (nonatomic, strong) UIImage *image;
@property (nonatomic, strong) void(^clickHandler)(void);

+ (instancetype) menuItemTitle:(NSString*) title image:(UIImage*) image action:(void((^)(void))) actionHandler;
@end

@interface AssetMenuView : UIView
+ (AssetMenuView*) menuViewItems:(NSArray<AssetMenuItem*>*) items frame:(CGRect) frame;
@end

NS_ASSUME_NONNULL_END
